package inherit;

/**
 * @author yuisama
 * @date 2022/09/09 21:44
 **/

class A {
    int a;
}
class B extends A{
    int b;
}
public class C extends B{
    public static void main(String[] args) {
        C c = new C();
        System.out.println(c.a);
        System.out.println(c.b);
    }
}